// PoseDefine.cpp: implementation of the CPoseDefine class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "PoseDefine.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

IMPLEMENT_SERIAL (CPoseDefine, CObject, 1)
CPoseDefine::CPoseDefine()
{
	X=0;
	Z=0;
	Y=0;
	m_iType=0;
}
CPoseDefine::CPoseDefine(float x,float y,float z,int iType)
{
	X=x;
	Y=y;
	Z=z;
	m_iType=iType;
}

CPoseDefine::~CPoseDefine()
{

}

void CPoseDefine::Serialize (CArchive& ar)
{
	if(ar.IsStoring()) 
	{
		ar<<X<<Y<<Z<<m_iType;
	}
	else
	{
		ar>>X>>Y>>Z>>m_iType;
	}
    CObject::Serialize (ar);
}
 